/**

 * 版权所有(C)，上海勾芒信息科技，2017，所有权利保留。
 *
 * 项目名：cards-web 
 * 文件名：:PMonthSalesReport.java
 * 模块说明：	
 * 修改历史：
 * 2017年11月8日 - liyang - 创建。
 *
 */
package com.thor.palmmall.dao.rpt.sales;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Index;

import com.thor.commons.jpa.entity.PStandardEntity;

/**
 * @author:liyang
 * @time:2017年11月8日 下午5:29:35
 * @since:1.0
 */
@Entity
@Table(name = "PMonthSalesReport")
@org.hibernate.annotations.Table(appliesTo = "PMonthSalesReport", indexes = {
    @Index(name = "idx_PMDailySales_1", columnNames = {
        "fdate" }) })
public class PMonthSalesReport extends PStandardEntity {
  private static final long serialVersionUID = -3885558695602801866L;

  /** 日期 */
  private Date date;

  /** 销售额 */
  private BigDecimal amount;

  /** 项目id */
  private String storeId;

  /** 楼层 */
  private String floor;

  @Column(name = "fdate", nullable = false)
  public Date getDate() {
    return date;
  }

  public void setDate(Date date) {
    this.date = date;
  }

  @Column(name = "amount", nullable = true, precision = 19, scale = 4)
  public BigDecimal getAmount() {
    return amount;
  }

  public void setAmount(BigDecimal amount) {
    this.amount = amount;
  }

  @Column(name = "storeId", nullable = true, length = 38)
  public String getStoreId() {
    return storeId;
  }

  public void setStoreId(String storeId) {
    this.storeId = storeId;
  }

  @Column(name = "floor", nullable = true, length = 128)
  public String getFloor() {
    return floor;
  }

  public void setFloor(String floor) {
    this.floor = floor;
  }

}
